package com.imti.mall.product.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.imti.mall.model.cms.pojo.CmsSubject;
import com.imti.mall.model.cms.vo.CmsSubjectVo;
import com.imti.mall.product.mapper.CmsSubjectDynaSqlProvider;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.apache.ibatis.annotations.SelectProvider;

import java.util.List;

@Mapper
public interface CmsSubjectDao extends BaseMapper<CmsSubject> {
    @SelectProvider(type = CmsSubjectDynaSqlProvider.class,method = "findCmsSubjectByKeyword")
    public List<CmsSubject>  findCmsSubjectByKeyword(CmsSubjectVo cmsSubjectVo);
}
